//
//  graduallyProgress.h
//  ChengHuiTong
//
//  Created by ypwl on 15/12/1.
//  Copyright © 2015年 张文权. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface graduallyProgress : UIView




@property (nonatomic, strong) CAGradientLayer *gradLayer;

@property (nonatomic, strong) CALayer *mask;
@property (nonatomic, assign) CGFloat progress;

/**
 *
 *
 *  @param frame    坐标
 *  @param progress 进度
 *
 *  @return 初始化方法 progress进度范围为0-1
 */
-(instancetype)initWithFrame:(CGRect)frame WithProgress:(CGFloat)progress;

- (void)initLayer;
@end
